<template>
  <div>
    <h2>我是Home组件</h2>
    <!-- 导航区 -->
    <ul class="nav nav-tabs">
			<li>
				<router-link replace class="list-group-item" active-class="liang" :to="{name:'xinwen'}">News</router-link>
			</li>
			<li>
				<router-link replace class="list-group-item" active-class="liang" :to="{name:'xiaoxi'}">Message</router-link>
			</li>
		</ul>
    <br>
    <!-- 展示区（可能展示：News组件 或 Message组件） -->
    <keep-alive include="Message">
      <router-view/>
    </keep-alive>
  </div>
</template>

<script>
  export default {
    name:'Home',
  }
</script>